In view of the redundancy of dataset and the risk of privacy leakage caused by the similarity of track shape when the interference track was noised and publicated by the historical track, an IGSO-SDTP (Trajectory Protection of Simplification and Differential privacy of the track data based on Improved Glowworm Swarm Optimization) was proposed. Firstly, the historical trajectory dataset was reduced based on the position salient points. Secondly, the simplified trajectory dataset was generalized and noised by combining k-anonymity and differential privacy. Finally, a weighted distance was designed to take into account the distance error and track similarity, and the weighted distance was used as the evaluation index to solve the interference track with a small weighted distance based on IGSO (Improved Glowworm Swarm Optimization) algorithm. Experimental results on multiple datasets show that compared with the RD(Differential privacy for Raw trajectory data), SDTP(Trajectory Protection of Simplification and Differential privacy), LIC(Linear Index Clustering algorithm), and DPKTS(Differential Privacy based on K-means Trajectory shape Similarity), the weighted distances obtained by IGSO-SDTP are reduced by 21.94%, 9,15%, 14.25% and 10.55%, respectively. It can be seen that the interference trajectory publicated by IGSO-SDTP has better usability and stability.